package com.zyl.Ecs.common.domain.data.bean;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * @version v1.0
 * @ProjectName: Ecs
 * @Package: com.zyl.Ecs.common.domain.data.bean
 * @ClassName: DataBean
 * @Description TODO
 * @Author 翟玉龙
 * @Date 2024/12/6-10:56
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder
public class DataBean {

    /**
     * 数据ID
     */
    private Integer id;

    /**
     * 传感器ID
     */
    private Integer sensorId;

    /**
     * 数值
     */
    private Double value;

    /**
     * 采集时间（时间戳）
     */
    private Long time;
}
